import java.io.Serializable;

public class Message {
	
	String content;
	long to_id;
	long from_id;
	
	public Message(){
		
		content = "";
		to_id = -1;
		from_id = -1;
	}
	
	public Message(String message, long to, long from){
		
		content = message;
		to_id = to;
		from_id = from;
	}
	
	public void setContent(String new_message){
		
		content = new_message;
	}
	
	public String getMessage(){
		
		return content;
	}
	
	public long getRecipient(){
		
		return to_id;
	}
	
	public long getSender(){
		
		return from_id;
	}
}
